#chat-box-body {
    z-index: 100;
    position: relative
}

#chat-box-body #chat-circle {
    position: fixed;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
    box-shadow: 0 3px 16px 0 rgba(0, 0, 0, 0.2), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    transform: scale(1)
}

#chat-box-body.show .chat-box {
    display: block
}

#chat-box-body.show #chat-circle {
    z-index: 0;
    transform: scale(0)
}

.btn#my-btn {
    background: white;
    padding-top: 13px;
    padding-bottom: 12px;
    border-radius: 10px;
    padding-right: 40px;
    padding-left: 40px;
    color: #5865c3
}

#chat-overlay {
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: none
}

.chat-box {
    display: none;
    background: #fff;
    position: fixed;
    right: 30px;
    bottom: 50px;
    width: 350px;
    max-width: 85vw;
    max-height: 100vh;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 30px 0 rgba(82, 63, 105, 0.2);
    box-shadow: 0 0 30px 0 rgba(82, 63, 105, 0.2)
}

.chat-box-toggle {
    cursor: pointer
}

.chat-box-body {
    position: relative;
    height: 370px;
    height: auto;
    border-bottom: 1px solid #ebedf3;
    border-top: 1px solid #ebedf3;
    overflow: hidden
}

.chat-box-body:after {
    content: "";
    background-image: url("");
    opacity: .1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    position: absolute;
    z-index: -1
}

#chat-input {
    background: #fff;
    width: 100%;
    position: relative;
    height: 47px;
    padding-top: 10px;
    padding-right: 50px;
    padding-bottom: 10px;
    padding-left: 15px;
    border: 0;
    resize: none;
    outline: 0;
    color: #172b4c;
    border-top: 0;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden
}

.chat-input > form {
    margin-bottom: 0;
    position: relative
}

#chat-input::-webkit-input-placeholder {
    color: #ccc
}

#chat-input::-moz-placeholder {
    color: #ccc
}

#chat-input:-ms-input-placeholder {
    color: #ccc
}

#chat-input:-moz-placeholder {
    color: #ccc
}

.chat-submit {
    position: absolute;
    bottom: 6px;
    right: 10px;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-radius: 10px;
    color: #5a5eb9;
    width: 35px;
    height: 35px
}

.chat-submit:focus {
    outline: 0
}

.chat-logs {
    padding: 15px;
    height: 370px;
    overflow-y: scroll
}

.chat-logs::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5
}

.chat-logs::-webkit-scrollbar {
    width: 5px;
    background-color: #f5f5f5
}

.chat-logs::-webkit-scrollbar-thumb {
    background-color: #0052cc
}

@media only screen and (max-width: 500px) {
    .chat-logs {
        height: 60vh
    }
}

.chat-msg.user div > .msg-avatar img {
    border-radius: 10px;
    float: left
}

.chat-msg.self div > .msg-avatar img {
    border-radius: 10px;
    float: right
}

.cm-msg-text {
    background: #f3f6f9;
    padding: 10px 15px 10px 15px;
    color: #666;
    max-width: 75%;
    float: left;
    margin-top: 10px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px
}

.chat-msg {
    clear: both
}

.chat-msg.self > .cm-msg-text {
    float: right;
    background: #0052cc;
    color: white
}

.chat-area-border {
    border: 1px solid #cdd1d3;
}

.dark .chat-box-header {
    background-color: #192132;
    color: #a3adc2;
}

.dark .chat-box-body {
    background-color: #26334d;
    border-bottom: 1px solid #192132;
    border-top: 1px solid #26334d;
    color: #a3adc2;
}

.dark #chat-input {
    background-color: #192132;
    color: #a3adc2;
}

.dark .chat-area-border {
    border: 1px solid #192132;
    color: #c2c9d6;
}

.dark .chat-logs::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #232e44
}

.dark .chat-logs::-webkit-scrollbar {
    width: 5px;
    background-color: #232e44
}

.dark .chat-logs::-webkit-scrollbar-thumb {
    background-color: #a3adc2
}

.divider {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-flex: 0;
    flex: 0 1 0;
    color: #3562ae;
    font-size: .8571rem;
    letter-spacing: .5px;
    margin: 1rem auto;
    width: 100%
}

.divider:before, .divider:after {
    content: '';
    -webkit-box-flex: 1;
    flex-grow: 1;
    border-top: 1px solid #a3adc2
}

.divider::before {
    margin-right: 1rem
}

.divider::after {
    margin-left: 1rem
}